{include file="public/header" /}

<form method="get" action="{:url('logs')}" novalidate="true">
	<section class="panel panel-default search-from">
		<header class="panel-header">
			<div class="title"><i class="icon-arrow-down-solid"></i>查询条件</div>
		</header>
		<div class="panel-body">
			<div class="col-2 col-xd">
				<div class="form-group">
					<input type="text" name="app_id" value="{$app_id}" placeholder="AppID">
				</div>
			</div>
			<div class="col-2 col-xd">
				<div class="form-group">
					<input type="text" name="title" value="{$title}" placeholder="名称">
				</div>
			</div>
			<div class="col-2 col-xd">
				<div class="form-group">
					<input type="text" name="app_key" value="{$app_key}" placeholder="AppKey">
				</div>
			</div>
			<div class="form-group-submit">
				<button type="submit" class="btn btn-info"><i class="icon-search"></i>查询</button>
			</div>
		</div>
	</section>
</form>

<table class="data-list">
	<tbody>
		<tr>
			<th width="120">AppID</th>
			<th>接口</th>
			<th>状态码</th>
			<th>状态说明</th>
			<th>终端类型</th>
			<th>请求时间</th>
			<th>操作</th>
		</tr>
		{volist name="list" id="rs"}
			<tr class="data-{$rs['app_id']}">
				<td>{$rs['app_id']}</td>
				<td>{$rs['module']}/{$rs['action']}</td>
				<td>{$rs['return_status']}</td>
				<td>{$rs['return_info']}</td>
				<td>{$rs['app_type']}</td>
				<td>{:date('Y-m-d H:i:s', $rs['create_time'])}</td>
				<td>
					<a class="btn btn-default win" href="{:url('win_detail', array('log_id' => $rs['log_id']))}" title="接口详情">
						<i class="icon-view"></i>
					</a>
				</td>
			</tr>
		{/volist}
	</tbody>
</table>

<div class="opt-page-box">
	<ul class="button-group">
		<li class="btn bg-default jump" url="{:url('add')}"><i class="icon-plus"></i>添加</li>
	</ul>
	{$page}
</div>

{include file="public/footer" /}